import React from 'react'
import { NavLink } from 'react-router-dom'

export default function FoodList () {
  return (
    <div>
      <ul>
        <li>
          <NavLink to='/fooddetail/1003/排骨'>糖醋排骨</NavLink>
        </li>
        <li>沪上阿姨</li>
        <li>
          <NavLink to={{ pathname: '/fooddetail/1004/jichi' }}>
            麦辣鸡翅
          </NavLink>
        </li>
      </ul>
    </div>
  )
}
